﻿using Core.ProcessManager.Process;

namespace Core.ProcessManager.Messenger
{
    public interface IMessenger
    {
        event MessengerEventHandler OnMessengerStateChange;
        MessengerEventsArgs MessengerState { set; get; }
        MessengerEventsArgs CreateNewState(string actionName, string actionState, int actionProgress);

        void ChangeProgressStatus(ITimer sender);
        void ChangeStateMessage(string stateMessage);
    }

    public delegate void MessengerEventHandler(IMessenger sender, MessengerEventsArgs args);
}
